﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace DienLib.SummitLib
{
    class JobTubular
    {
        public JobTubular(Enums.PipeFunction pipefunction, Enums.PipeType pipetype, double pipeOD, double topMD,
                          double botMD, double standardWeight, double pipeID_holesize, Enums.PipeGrade pipegrade)
        {
            this._pipeFunction = pipefunction;
            this._pipeType = pipetype;
            this._pipeOD = pipeOD;
            this._topMD = topMD;
            this._botMD = botMD;
            this._standardWeight = pipeOD;
            this._pipeID_HoleSize = pipeID_holesize;
            this._pipeGrade = pipegrade;
            ///Colu
        }

        private Enums.PipeFunction _pipeFunction;
        public string PipeFunction
        {
            get { return Enums.ePipeFunction.ToData(_pipeFunction); }
        }

        private Enums.PipeType _pipeType;
        public Enums.PipeType PipeType
        {
            get { return _pipeType; }
        }

        private double _pipeOD;
        public double PipeOD
        {
            get { return _pipeOD; }
        }

        private double _topMD;
        public double TopMD
        {
            get { return _topMD; }
        }

        private double _botMD;
        public double BotMD
        {
            get { return _botMD; }
        }

        private double _standardWeight;
        public double StandardWeight
        {
            get { return _standardWeight; }
        }

        private double _pipeID_HoleSize;
        public double PipeID_HoleSize
        {
            get { return _pipeID_HoleSize; }
        }

        private Enums.PipeGrade _pipeGrade;
        public Enums.PipeGrade PipeGrade
        {
            get { return _pipeGrade; }
        }
    }
}
